﻿namespace Qy.Models
{
    public class CacheConst
    {
        /// <summary>
        /// 用户缓存
        /// </summary>
        public const string CACHE_KEY_USER = "user_";//一般接用户ID
        /// <summary>
        /// 角色缓存
        /// </summary>
        public const string CACHE_KEY_USERGROUP = "usergroup_";//一般接角色ID

        /// <summary>
        /// 内容统计缓存
        /// </summary>
        public const string CACHE_KEY_COUNTARTICLE = "articlecount_";
        /// <summary>
        /// 用户列表缓存
        /// </summary>
        public const string CACHE_KEY_USERLIST = "userlist_";

        /// <summary>
        /// 系统配置缓存
        /// </summary>
        public const string CACHE_KEY_CONFIG = "config_";
        /// <summary>
        /// 内容缓存
        /// </summary>
        public const string CACHE_KEY_ARTICLE = "article_";

        /// <summary>
        /// 内容缓存
        /// </summary>
        public const string CACHE_KEY_ARTICLE_DOCRECEIVED = "docreceived_";
        /// <summary>
        /// 来文列表缓存
        /// </summary>
        public const string CACHE_KEY_ARTICLEDOCRECEIVEDLIST = "articledocreceivedlist_";
        /// <summary>
        /// 类别缓存
        /// </summary>
        public const string CACHE_KEY_ARTICLECATE = "articlecate_";
        /// <summary>
        /// 用户部门缓存
        /// </summary>
        public const string CACHE_KEY_ADMINDEPTCATE = "useradmindept_";
        /// <summary>
        /// 用户岗位缓存
        /// </summary>
        public const string CACHE_KEY_ADMINPOST = "useradminpost_";
        /// <summary>
        /// 列表缓存
        /// </summary>
        public const string CACHE_KEY_ARTICLELIST = "articlelist_";

    }
}
